﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using HRC.Library.EntityLibrary.EntityOperations;

namespace LojistikHavuzuNet.Controllers
{
    public class IlceController : Controller
    {
        //
        // GET: /Ilce/

        public ActionResult Index()
        {
            return View(new Models.Ilce());
        }

        [HttpPost]
        public ActionResult Index(Models.Ilce ilce)
        {
            EntityManager.Insert(ilce);
            return View();
        }
    }
}
